#include <list>
#include <iostream>
#include "../Facts/Facts.h"

using namespace std;

class Rules : public Facts
{
//Attribute
private :
list<string>::iterator it;
//Method
public:
Rules();
Rules(string);
~Rules();
void addRule(string  s);
string GetParamR(string s);
void CekParamR();
void CekRule();
string NextParamR();
string NextElmt();
void Add(string);
void addParam(string);
string GetFirstElmt();
string GetLastElmt();
string GetElmt(string s);
bool SearchElmt(string);
bool SearchParam(string);
};

